package com.probiz.estore.common.model.product;

import com.probiz.estore.common.model.product.base.WholesalePriceTbl;

/**
 * Model class for WholesalePrice. Add not database mapped fileds in this class.
 * 批发价
 */
public class WholesalePrice extends WholesalePriceTbl {

  	/**
	 * Default Empty Constructor for class WholesalePrice
	 */
	public WholesalePrice () {
		super();
	}
	
	/**
	 * 定义实体的业务名取值
     * @return 业务名
	 */
	public String getWholesalePriceName () {
		if (wholesalePriceId == null)
	        return "";
	    else
			//返回一个指定有业务意义的属性值;
			//如：product的VO就用product.productName
	        return this.wholesalePriceId.toString();
	}
	
	/**
	 * Default Key Fields Constructor for class WholesalePrice
     * @param in_wholesalePriceId 批发价id
	 */
	public WholesalePrice (Integer in_wholesalePriceId) {
		super (in_wholesalePriceId);
	}

}
